const mongoose = require('mongoose');
const Schema = mongoose.chema;
const xssSchema = new chema({
    name: {
        type: String,
        unique: false,
        required: true,
        default: 'xyz'
    },
    age: Number,
    sex: String,
    stu_id: {
        type: String,
        unique: true,
        required: true,
    },
})
module.exports = mongoose.model('xss', xssSchema);